import http from '@/utils/http'

export function getCategoryAPI() {
  return http({
    url: 'home/category/head',
  })
}
export function getBannerAPI() {
  return http({
    url: '/home/banner',
  })
}
export function getNewAPI() {
  return http({
    url: '/home/new',
  })
}
export function getHotAPI() {
  return http({
    url: '/home/hot',
  })
}